home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / FuncOnAutoItExit.au3 < prev    next >
Text File  |  2006-06-17  |  146b  |  7 lines

  1. Opt("OnExitFunc", "endscript")
  2. MsgBox(0,"","first statement")
  3.  
  4. Func endscript()
  5.     MsgBox(0,"","after last statement " & @EXITMETHOD)
  6. EndFunc
  7.